@charset "UTF-8";
/* CSS Document for About Us Page */

/* Root Variables for Consistent Styling */
:root {
    --primary-color: #007f5f; /* Rich green */
    --secondary-color: #ffcc00; /* Golden accent */
    --tertiary-color: #1b4332; /* Deep contrast */
    --background-light: #f8f9fa; /* Soft background */
    --background-dark: #081c15; /* Dark contrast */
    --text-color: #ffffff; /* Light text */
    --text-dark: #1b4332; /* Dark text */
    --cta-hover: #ffb700;
    --content-bg: #ffffff;
    --border-color: #e0e0e0;
    --text-muted: #6c757d;
}

/* Universal Reset for Clean Layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.7;
}

.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation Bar */
.navigation {
    background: var(--primary-color);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    height: 60px;
    z-index: 1000;
}

.dropdown {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dropbtn img {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--tertiary-color);
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    border-radius: 8px;
    left: 0;
    top: 100%;
    margin-top: 0;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
    color: var(--tertiary-color);
    font-weight: bold;
}

.dropdown:hover .dropdown-content {
    display: block;
}

#QB-logo {
    font-size: 2em;
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: auto;
    padding-right: 20px;
}

/* Title Container */
.title-container {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('"../Images/BudgetBack.jpg"') center/cover no-repeat; /* Add a subtle background image or gradient */
    background-color: var(--tertiary-color); /* Fallback color */
    color: var(--text-color);
    text-align: center;
    padding: 60px 20px; /* More padding */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.title-container h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.title-container p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85); /* Slightly muted white */
}


/* Content Wrapper */
.content-wrapper {
    flex: 1; /* Allow content to grow */
    max-width: 900px;
    margin: 40px auto; /* Add more margin */
    padding: 30px;
    background-color: var(--content-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.content-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

/* Underline effect for headings */
.content-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}


.content-section p {
    font-size: 1.05rem; /* Slightly larger text */
    color: var(--text-dark);
    margin-bottom: 15px;
}

.accent-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section Specifics */
.contact-section address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.contact-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}


/* Footer (Copied from fixed faq-style.css) */
.foot-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--primary-color);
    padding: 15px 20px;
    color: var(--text-color);
    text-align: center;
    margin-top: 30px; /* Ensure footer is visually separated */
}

.foot-bar a {
    display: inline-block;
    line-height: 0;
}

.foot-bar img {
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.foot-bar a:hover img {
    transform: scale(1.1);
}

.foot-bar p {
    margin: 0 10px;
    font-size: 0.9rem;
}

.foot-bar p img {
     width: 18px;
     height: 18px;
     margin: 0 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .title-container h1 {
        font-size: 2.2rem;
    }
     .title-container p {
        font-size: 1.1rem;
    }
    .content-wrapper {
        margin: 30px 15px;
        padding: 20px;
    }
    .content-section h2 {
        font-size: 1.5rem;
    }
     .content-section p, .contact-section address {
        font-size: 1rem;
    }

    .foot-bar {
		display: flex;
		align-items: center;
		justify-content: space-around;
        padding: 15px;
    }
    .foot-bar a, .foot-bar p {
        margin-bottom: 10px;
    }
    
	.foot-bar > * {
		margin-left: 5px;
		margin-right: 5px;
	}
}

@media (max-width: 480px) {
     #QB-logo {
        font-size: 1.5em;
    }
    .title-container {
        padding: 40px 15px;
    }
     .title-container h1 {
        font-size: 1.8rem;
    }
     .title-container p {
        font-size: 1rem;
    }
    .content-wrapper {
        margin: 20px 10px;
    }
}
